﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace JWUX.Supermarket.Model
{
    public enum LocationType
    {
        Others = 0,
        BIN = 1,
        Station = 2
    }

    /// <summary>
    /// 位置实例
    /// </summary>
    public class LocationInfo
    {
        #region 属性

        public int? Id
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }

        public LocationType Type
        {
            get;
            set;
        }

        public DateTime CreatedOn
        {
            get;
            set;
        }

        public int? CreatedById
        {
            get;
            set;
        }

        public string CreatedBy
        {
            set;
            get;
        }

        public bool IsAvailable
        {
            get;
            set;
        }

        #endregion
    }
}
